package com.bootdo.hjh.dao;

import com.bootdo.hjh.domain.ProductPointsDO;
import com.bootdo.hjh.domain.ProductPointsDOExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
@Mapper
public interface ProductPointsDOMapper {
    int countByExample(ProductPointsDOExample example);

    int deleteByExample(ProductPointsDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductPointsDO record);

    int insertSelective(ProductPointsDO record);

    List<ProductPointsDO> selectByExampleWithRowbounds(ProductPointsDOExample example, RowBounds rowBounds);

    List<ProductPointsDO> selectByExample(ProductPointsDOExample example);

    ProductPointsDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductPointsDO record, @Param("example") ProductPointsDOExample example);

    int updateByExample(@Param("record") ProductPointsDO record, @Param("example") ProductPointsDOExample example);

    int updateByPrimaryKeySelective(ProductPointsDO record);

    int updateByPrimaryKey(ProductPointsDO record);

    Long sumByExample(ProductPointsDOExample example);

    void batchInsert(@Param("items") List<ProductPointsDO> items);
}